package com.zhiyou.app.shop.website.dao.pojo;

/**
 * UserDetail entity. @author MyEclipse Persistence Tools
 */

public class UserDetail implements java.io.Serializable {

	// Fields

	private Integer id;
	private String loginName;
	private String password;
	private String fullName;
	private String sex;
	private String handphone;
	private String email;
	private String address;
	private Integer role;

	// Constructors

	/** default constructor */
	public UserDetail() {
	}

	/** minimal constructor */
	public UserDetail(String loginName, String password, String fullName) {
		this.loginName = loginName;
		this.password = password;
		this.fullName = fullName;
	}

	/** full constructor */
	public UserDetail(String loginName, String password, String fullName,
			String sex, String handphone, String email, String address,
			Integer role) {
		this.loginName = loginName;
		this.password = password;
		this.fullName = fullName;
		this.sex = sex;
		this.handphone = handphone;
		this.email = email;
		this.address = address;
		this.role = role;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getLoginName() {
		return this.loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getFullName() {
		return this.fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getHandphone() {
		return this.handphone;
	}

	public void setHandphone(String handphone) {
		this.handphone = handphone;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Integer getRole() {
		return this.role;
	}

	public void setRole(Integer role) {
		this.role = role;
	}

}